package com.example.myblogserver.mapper;

import com.example.myblogserver.model.Categories;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface CategoriesMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Categories row);

    Categories selectByPrimaryKey(Long id);

    List<Categories> selectAll();

    int updateByPrimaryKey(Categories row);
}